package com.chinaunicom.queue;

public class QueueNode {

	private String srcDirName;

	private String destDirName;

	private QueueNode nextNode;

	public String getSrcDirName() {
		return srcDirName;
	}

	public void setSrcDirName(String srcDirName) {
		this.srcDirName = srcDirName;
	}

	public String getDestDirName() {
		return destDirName;
	}

	public void setDestDirName(String destDirName) {
		this.destDirName = destDirName;
	}

	public QueueNode getNextNode() {
		return nextNode;
	}

	public void setNextNode(QueueNode nextNode) {
		this.nextNode = nextNode;
	}
	
	public QueueNode() {
		super();
	}

	public QueueNode(String srcDirName, String destDirName) {
		this(srcDirName, destDirName, null);
	}

	public QueueNode(String srcDirName, String destDirName, QueueNode nextNode) {
		this.srcDirName = srcDirName;
		this.destDirName = destDirName;
		this.nextNode = nextNode;
	}

	@Override
	public String toString() {
		return "{srcDirName:" + this.srcDirName + ",destDirName:"+ this.destDirName + "}";
	}
}
